package hust.rpc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Host {

    private String ip;
    private int port;

    @Override
    public String toString(){
        return ip + port;
    }
}
